namespace OneAuthCenter.Application.DTOs.User;

/// <summary>
/// 用户 DTO
/// </summary>
public class UserDto
{
    public int Id { get; set; }
    
    public string Username { get; set; } = string.Empty;
    
    public string Email { get; set; } = string.Empty;
    
    public string? FullName { get; set; }
    
    public string? PhoneNumber { get; set; }
    
    public bool IsActive { get; set; }
    
    public string[] Roles { get; set; } = Array.Empty<string>();
    
    public DateTime CreatedAt { get; set; }
    
    public DateTime? LastLoginAt { get; set; }
}

